entry: Use standard padding
authorMatthias Clasen <mclasen@redhat.com>
Mon, 27 May 2019 03:03:47 +0000 (03:03 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 27 May 2019 03:03:47 +0000 (03:03 +0000)
gtk/gtkentry.c
gtk/gtkentry.h

index 1193d3e8df2f1800da14ea0a271cb240632c73b4..302a908e9cf01f95ae0adbe96321f8e20c2158a0 100644 (file)
@@ -153,6 +153,7 @@ static GQuark          quark_entry_completion = 0;
 
 typedef struct _EntryIconInfo EntryIconInfo;
 
+typedef struct _GtkEntryPrivate       GtkEntryPrivate;
 struct _GtkEntryPrivate
 {
   EntryIconInfo *icons[MAX_ICONS];
index d6948686d4270e3d14ff999d8f429d0fc7070bcc..10483822715621ac70119102810c962938fbc1de 100644 (file)
@@ -66,7 +66,6 @@ typedef enum
 } GtkEntryIconPosition;
 
 typedef struct _GtkEntry              GtkEntry;
-typedef struct _GtkEntryPrivate       GtkEntryPrivate;
 typedef struct _GtkEntryClass         GtkEntryClass;
 
 struct _GtkEntry
@@ -120,13 +119,7 @@ struct _GtkEntryClass
 
   /*< private >*/
 
-  /* Padding for future expansion */
-  void (*_gtk_reserved1)      (void);
-  void (*_gtk_reserved2)      (void);
-  void (*_gtk_reserved3)      (void);
-  void (*_gtk_reserved4)      (void);
-  void (*_gtk_reserved5)      (void);
-  void (*_gtk_reserved6)      (void);
+  gpointer padding[8];
 };
 
 GDK_AVAILABLE_IN_ALL